package com.xy.gateway.service.impl;


import java.util.List;
import java.util.Map;
import java.util.Date;
import com.xy.core.util.BeanUtil;
import com.xy.common.page.Pagination;
import com.xy.core.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.xy.gateway.dao.ReqparamappingDao;
import com.xy.gateway.model.Reqparamapping;
import com.xy.gateway.service.ReqparamappingService;

@Service
@Transactional
public class ReqparamappingServiceImpl extends BaseServiceImpl<Reqparamapping> implements
		ReqparamappingService {
	private ReqparamappingDao reqparamappingDao;

	public ReqparamappingServiceImpl(ReqparamappingDao paramAppRoleDao) {
		super(paramAppRoleDao);
		this.reqparamappingDao = paramAppRoleDao;
	}

	@Override
	public boolean checkExist(String paraName, String paraValue) {
		return reqparamappingDao.checkExist("Reqparamapping", paraName, paraValue);
	}

	@Override
	public List<Reqparamapping> getReqparamapping(Map<String, Object> map) {
		return reqparamappingDao.getReqparamapping(map);
	}
	@Override
	public Pagination getReqparamappingByPage(Map<String, Object> map, int pageNo,
			int pageSize) {
		// TODO Auto-generated method stub
		return reqparamappingDao.getReqparamappingByPage(map, pageNo, pageSize);
	}
	 
   @Override
	public Reqparamapping save(Reqparamapping reqparamapping1) {return super.save(reqparamapping1);}
}